%%%-------------------------------------------------------------------
%%% @author mirahs(2892727493@qq.com)
%%% @doc
%%%     角色 rpc, apply 的配置
%%% @end
%%%-------------------------------------------------------------------
-module(role_rpc_conf).

-export([get/3]).

-include("common.hrl").
-include("role.hrl").


%% -------------------- rpc ----------------------------
%%get(rpc, _Role, {Cmd = ?P_C_CHAT_GM, _}) -> #rpc_cfg{cmd = Cmd, big_type = rpc_conf_data:get(rpc_gm)};		%% GM指令
%%get(rpc, _Role, {Cmd = ?P_C_SIGN_DAY, _}) -> #rpc_cfg{cmd = Cmd, big_type = rpc_conf_data:get(rpc_sign_day)};	%% 签到

get(rpc, _Role, _CmdData) ->
    #rpc_cfg{};

%% -------------------- apply ----------------------------
get(apply, _, {room_api, card_use_async, _Args}) -> #rpc_cfg{cmd = apply_room_card_use_async, big_type = rpc_conf_data:get(apply_room_card_use_async)}; %% 房卡结算

get(apply, _Role, _MFA) ->
    #rpc_cfg{}.
